package com.yyds.blackmagic.service;

import com.yyds.blackmagic.entity.Book;

import java.util.List;

/**
 * @ClassName BookService
 * @Auther Dell
 * @Date 2021/12/13 17:11
 **/
public interface BookService {
    List<Book> selectAll();
    List<Book> selectOne(int cid);
    List<Book> selectBydate();
    List<Book> select(String title);
    Book add(Book book);
    int delete(int id);
    Book update(Book  book);
    Book search(int id);
}
